import IRequestErrorLogPageForm from '@/model/form/request/IRequestErrorLogPageForm'
import IPageVO from '@/model/vo/common/IPageVO'
import IResVO from '@/model/vo/common/IResVO'
import IEsErrorVO from '@/model/vo/request/IEsErrorVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 分页排序查询 请求错误日志
export default function requestErrorLogPageApi(form: IRequestErrorLogPageForm) {
  return $http.post<
    IResVO,
    AxiosResponse<IResVO<IPageVO<IEsErrorVO>>>,
    IRequestErrorLogPageForm
  >('/request/errorLogPage', form)
}
